package com.ruoyi.hatha.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工管理对象 p_yuangong
 * 
 * @author ruoyi
 * @date 2024-04-02
 */
public class PYuangong extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String name;

    /** 员工UID */
    @Excel(name = "员工UID")
    private Long uid;

    /** 所属门店 */
    @Excel(name = "所属门店")
    private Long mid;

    /** 员工电话 */
    @Excel(name = "员工电话")
    private String phone;

    /** 员工照片 */
    @Excel(name = "员工照片")
    private String pic;

    /** 状态 */
    @Excel(name = "状态")
    private Integer state;

    /** 删除 */
    @Excel(name = "删除")
    private Integer isdel;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setMid(Long mid) 
    {
        this.mid = mid;
    }

    public Long getMid() 
    {
        return mid;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPic(String pic) 
    {
        this.pic = pic;
    }

    public String getPic() 
    {
        return pic;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setIsdel(Integer isdel) 
    {
        this.isdel = isdel;
    }

    public Integer getIsdel() 
    {
        return isdel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("uid", getUid())
            .append("createTime", getCreateTime())
            .append("mid", getMid())
            .append("phone", getPhone())
            .append("pic", getPic())
            .append("state", getState())
            .append("isdel", getIsdel())
            .toString();
    }
}
